import 'package:json_annotation/json_annotation.dart';
part 'recipe_banner_list_api.g.dart';

@JsonSerializable()
class ResponseRecipeBannerListApi {
  final String title;
  final String imageSrc;
  final String linkUrl;
  final int sort;

  factory ResponseRecipeBannerListApi.fromJson(Map<String, dynamic> json) =>
      _$ResponseRecipeBannerListApiFromJson(json);

  ResponseRecipeBannerListApi({
    required this.title,
    required this.imageSrc,
    required this.linkUrl,
    required this.sort,
  });
}
